#ifndef SIGNUP_H
#define SIGNUP_H

#include <QWidget>
#include <qdialoglogin.h>
#include<QMouseEvent>

namespace Ui {
class Signup;
}

class Signup : public QWidget
{
    Q_OBJECT

public:
    explicit Signup(QWidget *parent = nullptr);
    ~Signup();
private:
    bool m_moveing3=false;//表示窗口是否在鼠标的操作下移动
    bool m_IsComboxNeedChange=false;
    QPoint m_lastPos;//上一次的鼠标位置
protected:
    //用于鼠标拖动窗口的鼠标事件
    void mousePressEvent(QMouseEvent*event);//鼠标摁住
    void mouseMoveEvent(QMouseEvent*event);//鼠标移动
    void mouseReleaseEvent(QMouseEvent*event);//鼠标松开

private slots:

    void on_pushButton_return_clicked();

    void on_pushButton_sure_clicked();

private:
    Ui::Signup *ui;
};

#endif // SIGNUP_H
